#ifndef DEFEATSCENE_H
#define DEFEATSCENE_H
#include"stock.h"
#include <QWidget>

namespace Ui {
class defeatscene;
}

class defeatscene : public QWidget
{
    Q_OBJECT

public:
    explicit defeatscene(QWidget *parent = nullptr);
    ~defeatscene();
    void initeDefeatscene();
    void show_time();


protected:
     void paintEvent(QPaintEvent *);

private slots:
     void on_replay_clicked();

     void on_quit_clicked();

private:
    Ui::defeatscene *ui;

signals:
    void replay();
};

#endif // DEFEATSCENE_H
